package com.kestrel.space.user.service;

import com.kestrel.space.user.model.User;
import com.kestrel.space.user.query.UserQuery;
import com.kestrel.space.common.utils.LargePage;

import java.util.List;

/**
 * @author yebolin
 * @date 2024/8/21
 */
public interface UserService {
    User getUser(Long id);

    List<User> listUsers(UserQuery query, LargePage page);

    String saveOrUpdateUser(User user, String type);

    String batchSaveOrUpdateUsers(List<User> userList, String type);

    List<String> login(User user);
}
